﻿<Window x:Class="CSNN.WindowNeuralNetCreate"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Создание нейронной сети" Height="426" Width="579" WindowStyle="ToolWindow" ResizeMode="CanResize">
    <Window.Resources>
           
    </Window.Resources>
    <Grid DataContext="{Binding}">
        <Rectangle Margin="1,51,0,51" Name="rectangle3" Stroke="Black" />
        <Rectangle Fill="#FFF0F0F0" Name="rectangle2" Stroke="{x:Null}" Height="50" VerticalAlignment="Bottom" />
        <TextBlock Height="23" HorizontalAlignment="Left" Margin="12,56,0,0" Name="textBlock1" Text="Количество слоев" VerticalAlignment="Top" />
        <Slider Height="23" HorizontalAlignment="Left" Margin="133,56,0,0" Name="SliderLayerCount" VerticalAlignment="Top" Width="259" Minimum="1" TickPlacement="BottomRight" TickFrequency="2" Maximum="9" ValueChanged="SliderLayerCount_ValueChanged" />
        <TextBlock Text="{Binding ElementName=SliderLayerCount, Path=Value, Mode=OneWay, StringFormat=F0}"
            Height="23" HorizontalAlignment="Left" Margin="404,56,0,0" Name="LabelLayerCount" VerticalAlignment="Top" FontWeight="Bold" FontSize="14" Width="35" />
        <TextBlock Height="23" HorizontalAlignment="Left" Margin="12,93,0,0" Name="textBlock2" Text="Количество входов" VerticalAlignment="Top" />
        <DataGrid 
            AutoGenerateColumns="True" Margin="0,56,12,0" Name="DataGridNeuronsCount" FontSize="12" HorizontalAlignment="Right" Width="101" Height="264" VerticalAlignment="Top" />
        <Button Content="Заполнение количества нейронов в слоях" Height="32" HorizontalAlignment="Left" Margin="123,129,0,0" Name="button1" VerticalAlignment="Top" Width="296" Click="button1_Click"/>
        <Button Content="Создать сеть" Height="30" Margin="230,0,12,12" Name="button2" VerticalAlignment="Bottom" Click="Create_Net" IsEnabled="False" />
        <Button Content="Отмена" Height="30" HorizontalAlignment="Left" Margin="11,0,0,12" Name="button3" VerticalAlignment="Bottom" Width="79" Click="Cancel_Click"/>
        <TextBlock HorizontalAlignment="Left" Margin="11,167,0,0" Name="textBlock3" Text="Метод обучения" Height="23" VerticalAlignment="Top" />
        <TextBlock Height="23" Margin="124,167,0,0" Name="textBlock4" Text="Обратное распространение" VerticalAlignment="Top" FontWeight="Bold" HorizontalAlignment="Left" Width="188" />
        <GroupBox Header="Начальные значения " Margin="11,198,132,0" Name="groupBox1" Height="122" VerticalAlignment="Top">
            <Grid>
                <RadioButton Content="Случайные в диапозоне" Height="16" HorizontalAlignment="Left" Margin="6,6,0,0" Name="radioBattonRandWeight" VerticalAlignment="Top" FontSize="13" IsEnabled="True" IsThreeState="False" IsChecked="True" />
                <RadioButton Content="Нулевые" Height="16" HorizontalAlignment="Left" Margin="6,50,0,0" Name="radioButtonNullWeight" VerticalAlignment="Top" FontSize="13" IsChecked="True" />
                <TextBox Margin="186,5,0,0" Name="textBoxRandMin" Text="0" IsEnabled="True" HorizontalAlignment="Left" Width="38" Height="23" VerticalAlignment="Top" FontSize="13" />
                <TextBox Height="23" Margin="256,5,0,0" Name="textBoxRandMax" VerticalAlignment="Top" Text="0" IsEnabled="True" HorizontalAlignment="Left" Width="39" FontSize="13" />
                <TextBlock Margin="230,6,0,0" Name="textBlock5" Text="до" HorizontalAlignment="Left" Width="24" FontSize="13" Height="23" VerticalAlignment="Top" />
                <TextBlock Height="23" HorizontalAlignment="Left" Margin="171,6,0,0" Name="textBlock6" Text="от" VerticalAlignment="Top" FontSize="13" />
                <RadioButton Content="Случайные вещественные в диапозоне [-1, 1]" FontSize="13" Height="16" HorizontalAlignment="Left" IsChecked="True" Margin="6,28,0,0" Name="radioButtonUnit" VerticalAlignment="Top" />
            </Grid>
        </GroupBox>
        <TextBox Height="26" HorizontalAlignment="Left" Margin="133,93,0,0" Name="textBoxInputsCount" VerticalAlignment="Top" Width="117" Text="0" FontSize="14" />
        <Rectangle Fill="#FFF0F0F0" Height="50" Name="rectangle1" Stroke="{x:Null}" VerticalAlignment="Top" />
        <Label Content="Создание нейронной сети" Height="36" Margin="12,9,12,0" Name="label1" VerticalAlignment="Top" FontSize="16" FontWeight="Bold" />
    </Grid>
</Window>
